package com.didd.core.dict.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 字典映射组件自动装配 <br>
 *
 * @author diddd
 * @date: 2021/7/28 16:49
 */
@Configuration
public class DictAutoConfiguration {
    @Bean
//    @DependsOn({"entityDictService"})
    @ConditionalOnMissingBean(EntityDictScanner.class)
    public EntityDictScanner entityDictScanner(){
        return new EntityDictScanner();
    }
}
